Distributed reed-solomon codes for simple multiple access networks

ABSTRACT

A computer-based distributed error correction scheme with an efficient decoding algorithm is disclosed. The efficiency of the corresponding decoding algorithm, based on standard single source Reed-Solomon error correcting codes, makes the practical employment of the DECC feasible. Various implementation examples are also provided.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application claims priority to U.S. provisional Patent Application Ser. No. 61/618,284, filed on Mar. 30, 2012, for an “Efficient Construction of Distributed Error”, which is herein incorporated by reference in its entirety.

STATEMENT OF GOVERNMENT GRANT

This invention was made with government support under FA9550-10-1-0166 awarded by the Air Force and under CNS0905615 awarded by the National Science Foundation. The government has certain rights in the invention.

BACKGROUND

1. Technical Field

The present disclosure relates to methods and algorithms related to the field of distributed error correction codes (DECC) which is covered in various areas such as information theory, coding theory and communication theory, with applications in computer science and telecommunication. In particular, the present disclosure presents a novel construction for DECC, which has an efficient decoding algorithm and therefore is feasible for practical deployment of DECC.

2. Description of the Prior Art

A purely random code construction for DECC is able to achieve a maximum communication throughput with high probability. However, the decoding complexity at the receiver is exponentially high, which is not acceptable in practical scenarios. The present disclosure addresses this problem by providing an efficient and practical implementation of DECC.

SUMMARY

Throughout the present disclosure reference will be made to the enclosed Annex A1, which makes part of the present disclosure.

According to a first aspect of the present disclosure, a computer-based network with distributed error correction code (DECC) is presented, the computer-based network being configured to encode a plurality of source files on a distributed network of a plurality of computer-based workstations, and decode the plurality of files on a single computer-based workstation using a DECC decoding algorithm corresponding to a standard single-source Reed-Solomon error correcting code decoder.

According to a second aspect of the present disclosure, a computer-based method for distributing a plurality of source files over a simple multiple access network (SMAN), the SMAN comprising a plurality of computer-based relay nodes configured to transmit a plurality of encoded files to a computer-based receiver node is presented, the method comprising: redundantly providing through a plurality of computer-based source transmission links, a plurality of source files to the plurality of computer-based relay nodes; providing to each computer-based relay node, a software and/or hardware based encoder according to a distributed error correction code (DECC) algorithm; encoding through the provided encoder, the redundantly provided plurality of source files within each computer-based relay node; based on the encoding, transmitting via a plurality of computer-based relay transmission links, a plurality of encoded files to the computer-based receiver node; based on the transmitting, receiving the plurality of encoded files; based on the receiving, decoding the plurality of encoded files using a software and/or hardware based decoder based on a DECC algorithm, the DECC algorithm being a single-source Reed-Solomon decoding algorithm; based on the decoding, obtaining the plurality of source files.

Further aspects of the disclosure are shown in the specification, drawings and claims of the present application.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a diagram of a simple multiple access network (SMAN), comprising source nodes, relay nodes and one destination node, joint via transmission links of various capacities.

FIG. 2 shows an exemplary flowchart according to the present disclosure of a DECC for the SMAN of FIG. 1.

FIG. 3 shows an exemplary flowchart according to the present disclosure of the construction of the encoder for the presented DECC.

FIG. 4 shows an exemplary flowchart according to the present disclosure of the encoding steps for the presented DECC.

FIG. 5 shows an exemplary flowchart according to the present disclosure of the decoding steps for the presented DECC.

FIG. 6 shows a communication system for file distribution based on the SMAN of FIG. 1.

FIG. 7 shows an exemplary embodiment of a target hardware for implementation of a node of the presented SMAN.

DETAILED DESCRIPTION

Throughout the present disclosure, including the Annex A1, the term simple multiple access network (SMAN) refers to the network topology of FIG. 1, where multiple source nodes (S₁, S₂, S₃), multiple relays nodes (v₁, v₂, . . . , v₇) and one destination node D communicate via links of various capacities and as dictated by the associated full capacity region. More information on the full capacity region and how it is established is provided in reference [2] of Annex A1.

In the present disclosure, a novel construction for distributed error correction codes (DECC), which has an efficient decoding algorithm and therefore is feasible for practical employment of DECC is presented.

In the scenario of distributed error correction coding and in reference to FIG. 1, the source information provided within multiple source nodes (S₁, S₂, S₃) is transmitted via transmission source links of capacity at least (r₁, r₂ ,r₃) (e.g. information rate), respectively associated to each of the sources (S₁, S₂, S₃), to multiple relay nodes (v₁, v₂, . . . , v₇) where the source information is stored redundantly across the multiple nodes (v₁, v₂, . . . , v₇) and in a manner known for example by the receiver node D. As a consequence, each of the nodes (v₁, v₂, . . . , v₇) stores a subset of the source information (S₁, S₂, S₃) . The receiver D wants to recover the source information from the nodes (v₁, v₂, . . . , v₇) via links of unit capacity (e.g. normalized values). However, an unknown subset of the nodes, their stored information, or the channels between the nodes and the receiver (e.g. transmission links) can be erroneous. The skilled person will realize that in some embodiments the source information (S₁, S₂, S₃) may be obtained by subdividing a single source message (e.g. a file) to multiple submessages S_(i) without limiting the scope of the presented embodiment.

The objective of distributed error correction code is that the receiver can correctly recover the source information in the presence of such errors. DECC has potential applications such as distributed storage in cloud computing, network file distribution (e.g., P2P system), and wireless key pool bootstrapping. In some embodiment, each node may be a computer workstation adapted to perform various tasks, including sending/receiving data as well as performing various steps associated with the DECC (e.g. signal processing, encoding/decoding), and the link in-between nodes may be wired or wireless network transmission links.

A purely random code construction for DECC is able to achieve the maximum communication throughput with high probability. However, the decoding complexity at the receiver is exponentially high, which is not acceptable in practical scenarios.

According to an embodiment of the present disclosure, an efficient linear DECC construction, which is described in further details in Annex A1, is presented. FIG. 2 shows an exemplary flow chart of a DECC for the SMAN of FIG. 1. It should be noted that the dashed boxes represent steps within the process which are not strictly necessary and provided simply for reasons of clarity. The DECC is further decomposed in a Setup phase, an Encoding phase and a Decoding phase, represented by flowcharts in FIGS. 2-4 respectively, and as per the following:

During the Setup phase of the DECC for a given SMAN communication network and in reference to the flowchart (300) of FIG. 3, perform the following steps:

-   -   First, (step 301 of flowchart 300) obtain the topology and         characteristic of the communication network. Assume there are n         relay nodes and there are at most z erroneous nodes or channels,     -   Then (step 302) accordingly choose a parity check matrix H of a         single-source error correcting code with low encoding and         decoding complexity. One such matrix is the Vandermonde parity         check matrix for RS codes. Then the dimension of the parity         check matrix H is (2z×n).     -   Then (step 303) compute the linear subspace D, represented by a         generator matrix G, whose row space is orthogonal to the rows of         the parity check matrix H. The generator matrix G is selected         such as for each relay node, say V_(s), a corresponding column         vector G_(s) at the position s of the matrix G has all zero         coefficients at positions corresponding to the messages that         V_(s) does not have (e.g. V₇ of FIG. 1 only receives message S₃,         thus does not have messages S₁ and S₂). Subject to the positions         of these zero coefficients and orthogonality with H, each row of         G can be chosen independently and uniformly at random from all         possible candidates, or can be chosen greedily (e.g. an         arbitrary candidate for each row is chosen, subject to the         condition that it is linearly independent from previously chosen         rows).     -   Then (step 304) provide to each relay node V_(s) the vector         G_(s) to be used for the encoding.

During the Encoding phase of the DECC for a given SMAN communication network and in reference to the flowchart (400) of FIG. 4, perform the following steps:

-   -   Upon receiving of the messages (steps 401 and 402 of flowchart         400), each relay node V_(s) uses the provided vector G_(s) to         encode its received messages. During this process, the non-zero         coefficients in G_(s) are used as encoding coefficients to         encode the messages for transmission to the receiver node. The         relay node may concatenate the received messages to form a         single vector upon which the encoding is performed, by inserting         zeros as placeholders for the messages it does not have (e.g.         are not sent to the particular relay node as per topology of the         associated SMAN, see FIG. 1).

During the Decoding phase of the DECC for a given SMAN communication network and in reference to the flowchart (500) of FIG. 5, perform the following steps:

-   -   After receiving all the n messages from the relay nodes (step         501), the receiver organizes them as a vector (step 502).     -   The receiver then uses the received vector as an input to a         standard error decoding algorithm (step 503) corresponding to         the original single-source error correcting code to correct the         errors in the received vector.     -   The receiver can then extract the individual source messages         (step 504).

Numerical simulations executed so far show such construction is able to achieve the maximum error correction capacity in distributed error correction scenarios.

The person skilled in the art of information theory and coding theory will know how to apply the mentioned techniques and computations presented above and in Annex A1, including generation of the various matrices and encoding/decoding based on Reed Solomon codes and/or other cyclic error correcting codes, to the disclosed methods above. The skilled person may also find different sequences of applying the above steps represented in flowcharts (200-500), whether serially, in parallel and/or combination thereof, to obtain a similar result, and implement those using various hardware, software, firmware and/or combination thereof

With reference to FIG. 6, a communication system for file distribution and based on the SMAN of FIG. 1 is presented. Each file, represented by S_(i) may be a data file, an audio file, a video file or any other file containing information which one may want to transmit using an error prone link and receive devoid of errors. Each file S_(i) may be stored on any storage medium known to the skilled person (e.g. hard disk, optical disc, magneto-optical disc, tape, cloud, RAID, RAM, ROM, etc.) using any file system known to the skilled person (DOS, FAT, NTFS, HFS, UDF, ISO 9660, etc. . . . ) or even a proprietary file format. These storage mediums are connected, via some connection scheme (e.g. a wired link, a wireless link) which we here assume as being wired, thus including a cable with some number of conductor wires, to the multiple relay workstations V_(i), which in the communication network of FIG. 6 are equivalent in functionality to the relay nodes represented in the SMAN of FIG. 1. Such scheme may also include any connection using copper wires or fiber optic, such as USB, Ethernet, RS-232, ATAPI, SATA, SPDIF, HDMI, proprietary, etc.

If the size of the file S_(i) is R_(i), then the link capacity (e.g. information rate) between each storage and a corresponding relay workstation is at least the file size Also, each relay workstation of FIG. 6 may be a computer processor with the appropriate interface to the storage medium containing the files. This processor may be implemented using any target hardware (e.g. FIG. 7, described later) with reasonable computing power and memory size, either off the shelf, such as a mainframe, a microcomputer, a desktop (PC, MAC, etc.), a laptop, a notebook, etc. or a proprietary hardware designed for the specific task and which may include a microprocessor, a digital signal processor (DSP), various FPGA/CPLD, etc.

For any given hardware implementation of a relay workstation V_(i), corresponding software/firmware may be used to generate all or portion of the encoding steps required by the DECC as some of the associated steps (e.g. flowcharts 200-500 and Annex A1), such as one that are computational intensive, may be implemented using the target hardware itself or a dedicated hardware residing on an I/O port of the workstation. Each workstation V_(i) may not have access to all source files and therefore and as depicted by FIG. 6 may only operate on a subset of the available files. Furthermore, each file may be of any size, and thus for reason of practicality, it can be broken up in smaller sub-files, each to be independently encoded as per the provided DECC scheme (e.g. flowcharts 200-500, and Annex A1).

Once the relay workstations V_(i) have accessed the information files, whether read into a local memory first or while reading segments of the information files, can encode the files as per the provided DECC encoding scheme and as described in prior paragraphs. The encoding can be implemented in a combination of hardware, firmware and software, working in unison to generate the encoded file. In one configuration, files can be buffered onto a local memory of a relay workstation and then progressively fed to a dedicated hardware printed circuit board (PCB) residing into the workstation at an I/O location (e.g. item 40 of FIG. 7) and interfacing with the workstation's central processor (e.g. item 15 of FIG. 7) via some dedicated interface bus (e.g. item 35 of FIG. 7). The files may be formatted as per the DECC requirement (e.g. first step of step 402 of flowchart 400) prior to being fed to the dedicated PCB. The PCB in turn may execute the main computational intensive task of encoding (e.g. second step of step 402 of flowchart 400) and buffer the encoded data in a different area of memory accessible by the workstation's central processor. Finally, when requested by the destination workstation (D), the relay workstation may transmit the encoded data via the available link to the destination workstation (D). The task of governing the overall operation of any of the workstations may be assigned to a software (executable) program (e.g. item 30 of FIG. 7) stored in a segment of memory (e.g. item 20 of FIG. 7) of each workstation. When the program is loaded and running in the workstation, it can initiate the task of reading the various input files, formatting the files and send to the dedicated PCB, reading the encoded files and sending these to the destination workstation (D). Initiation of these tasks may be performed automatically or as a response to some initializing commands received by the program.

In the exemplary embodiment of FIG. 6, the links between each workstation V_(i) and the destination workstation (D) may be wireless (e.g. using electromagnetic waves, such as WiFi, Bluetooth, proprietary, etc . . . ) and the workstation (D) may physically reside in a different location from the relay workstations. It should also be noted that the relay workstations may also reside in different locations with respect to each other, in which case a suitable interface to the source files may be selected (e.g. files are on cloud).

The destination workstation of FIG. 6 may also be a computer processor, such as one depicted in FIG. 7, with the appropriate interface to communicate with the relay workstations, and appropriate amount of memory and processor speed to perform the task of DECC decoding in a practical amount of time. Again and as it was the case for the relay workstations V_(i), the various steps involved in the DECC decoding (e.g. flow chart 500 and Annex A1) may be partitioned amongst various available resources within the destination workstation (D). Here again, a dedicated PCB containing a combination of hardware and firmware may be used to perform the computational intensive tasks of decoding (e.g. steps 502 and 503 of flowchart 500), whereas a main program may be used to control the overall operation, as well as data communication and formatting (e.g. steps 501 and 504 of flowchart 500). Once all the data files have been decoded, the resultant (error free) decoded files may be stored on a storage device local to or remote from the destination workstation (D). The skilled person may need no further explanation on operation of the DECC implementation of FIG. 6. It should be noted, that given powerful enough workstations, wherein very fast processors (e.g. item 15 of FIG. 7) with large amount of memory (e.g. item 20 of FIG. 7) communicating over wide data buses (e.g. item 35 of FIG. 7) and performing parallel tasks are provided, the entirety of the computational intensive tasks (e.g. items 402, 502 and 503 of flowcharts 400, 500) may be performed via software running in the workstation's memory and using available workstation resources, without the need of the dedicated hardware PCBs presented above.

FIG. 7 is an exemplary embodiment of a target hardware (10) (e.g. a computer system) for implementing the DECC embodiment of FIG. 6 and as discussed in the previous paragraphs. This target hardware, represented by the workstations of FIG. 6, comprises a processor (15), a memory bank (20), a local interface bus (35) and one or more Input/Output devices (40). The processor may execute one or more instructions related to the implementation of FIG. 6 (e.g. flow charts 200-500 and Annex A1) and as provided by the Operating System (25) based on some executable program stored in the memory (20). These instructions are carried to the processors (20) via the local interface (35) and as dictated by some data interface protocol specific to the local interface and the processor (15). It should be noted that the local interface (35) is a symbolic representation of several elements such as controllers, buffers (caches), drivers, repeaters and receivers that are generally directed at providing address, control, and/or data connections between multiple elements of a processor based system. In some embodiments the processor (15) may be fitted with some local memory (cache) where it can store some of the instructions to be performed for some added execution speed. Execution of the instructions by the processor may require usage of some input/output device (40), such as inputting data from a file stored on a hard disk, inputting commands from a keyboard, outputting data to a display, or outputting data to a USB flash drive. In some embodiments, the operating system (25) facilitates these tasks by being the central element to gathering the various data and instructions required for the execution of the program and provide these to the microprocessor. In some embodiments the operating system may not exist, and all the tasks are under direct control of the processor (15), although the basic architecture of the target hardware device (10) will remain the same as depicted in FIG. 7. In some embodiments a plurality of processors may be used in a parallel configuration for added execution speed. In such a case, the executable program may be specifically tailored to a parallel execution. Also, in some embodiments the processor (15) may execute part of the implementation of FIG. 6, and some other part may be implemented using dedicated hardware/firmware placed at an Input/Output location accessible by the target hardware (10) via local interface (35) (e.g. dedicated PCB boards). The target hardware (10) may include a plurality of executable program (30), wherein each may run independently or in combination with one another.

The examples set forth above are provided to give those of ordinary skill in the art a complete disclosure and description of how to make and use the embodiments of the distributed Reed-Solomon codes for simple multiple access networks of the present disclosure, and are not intended to limit the scope of what the inventors regard as their disclosure.

Such embodiments may be, for example, used within computer science and communication fields with applications in distributed storage in cloud computing, network file distribution and wireless key pool bootstrapping where error free reconstruction of a set of original files is the goal. The skilled person may find other suitable implementations of the presented embodiments.

Modifications of the above-described modes for carrying out the disclosure, including pressure control devices, accumulators, and so forth, may be used by persons of skill in the art, and are intended to be within the scope of the following claims. All patents and publications mentioned in the specification may be indicative of the levels of skill of those skilled in the art to which the disclosure pertains. All references cited in this disclosure are incorporated by reference to the same extent as if each reference had been incorporated by reference in its entirety individually.

It is to be understood that the disclosure is not limited to particular methods or systems, which can, of course, vary. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” include plural referents unless the content clearly dictates otherwise. The term “plurality” includes two or more referents unless the content clearly dictates otherwise. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the disclosure pertains.

A number of embodiments of the disclosure have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the present disclosure. Accordingly, other embodiments are within the scope of the following claims. 

1. A computer-based network with distributed error correction code (DECC) configured to encode a plurality of source files on a distributed network of a plurality of computer-based workstations, and decode the plurality of files on a single computer-based workstation using a DECC decoding algorithm corresponding to a standard single-source Reed-Solomon error correcting code decoder.
 2. The computer-based network with DECC of claim 1, wherein the distributed network comprises: a plurality of computer-based workstations operating as relay nodes and configured to redundantly receive via a plurality of source transmission links one or more of the plurality of source files and encode said source files according to a provided DECC encoding algorithm, encoding being operatively implemented in hardware and/or software, and a single computer-based workstation operating as a receiver node and configured to receive via a plurality of relay transmission links the encoded source files from the plurality of relay nodes and decode the encoded source files according to a provided DECC decoding algorithm, decoding being operatively implemented in hardware and/or software, wherein one or more of the plurality of encoded source files received by the receiver node are erroneous due to an erroneous relay transmission link and/or an erroneous relay node.
 3. The computer-based network with DECC of claim 2, wherein the error correction capacity over the distributed network is maximum.
 4. The computer-based network with DECC of claim 2, wherein the provided DECC encoding and DECC decoding algorithm is constructed using the following steps: 1) provide the number n of relay nodes, the maximum number z of erroneous relay nodes and/or relay transmission links, and a configuration of the plurality of source transmission links wherein the configuration comprises a specification of which relay nodes store which source messages; 2) according to step 1), choose a parity check matrix H of a single-source error correcting code with low encoding and decoding complexity; 3) compute the linear subspace D, represented by a generator matrix G, whose row space is orthogonal to the rows of the parity check matrix H. 4) amongst the possible available generator vectors of the matrix G, select G such that for each relay node denoted by V_(s), a corresponding column vector G_(s) at the position s of the generator matrix G has all zero coefficients at positions corresponding to the files that V_(s) does not have, as dictated by the configuration of the plurality of source transmission links; 5) provide to each relay node V_(s) the vector G_(s) to be used for the encoding; 6) upon receiving of the files, each relay node V_(s) uses the provided vector G_(s) to encode its received files. During this process, the non-zero coefficients in G_(s) are used as encoding coefficients to encode the files for transmission to the receiver node. The relay node may concatenate the received files to form a single vector upon which the encoding is performed, by inserting zeros as placeholders for the files it does not have; 7) after receiving the n encoded files from the n relay nodes, the receiver node organizes them as a single vector; 8) the receiver then uses the received single vector as an input to a standard error decoding algorithm corresponding to the original single-source error correcting code to find the locations and values of the errors in the received vector; 9) knowing the errors from step 8), the receiver can either subtract them from the received files and then decode the correct source files, or obtain the corrected vector, which is a concatenation of the source files, and extract the source files therefrom.
 5. The computer-based network with DECC of claim 4, wherein a relay node of the plurality of relay nodes comprises steps 5) and 6) operatively implemented in hardware and/or software.
 6. The computer-based network with DECC of claim 4, wherein the receiver node comprises steps 7), 8) and 9) operatively implemented in hardware and/or software.
 7. The computer-based network with DECC of claim 4, wherein C being a vector space orthogonal to the row space of the parity check matrix H and R₁ being one of: a) the sum of the information rates of the source files, and b) the capacities of the plurality of the source transmission links, the rows of the generator matrix G span an R₁-dimensional subspace of C.
 8. The computer-based network with DECC of claim 7, wherein rank(G)=R_(I) and GH^(t)=0
 9. A computer-based method for distributing a plurality of source files over a simple multiple access network (SMAN), the SMAN comprising a plurality of computer-based relay nodes configured to transmit a plurality of encoded files to a computer-based receiver node, the method comprising: redundantly providing through a plurality of computer-based source transmission links, a plurality of source files to the plurality of computer-based relay nodes; providing to each computer-based relay node, a software and/or hardware based encoder according to a distributed error correction code (DECC) algorithm; encoding through the provided encoder, the redundantly provided plurality of source files within each computer-based relay node; based on the encoding, transmitting via a plurality of computer-based relay transmission links, a plurality of encoded files to the computer-based receiver node; based on the transmitting, receiving the plurality of encoded files; based on the receiving, decoding the plurality of encoded files using a software and/or hardware based decoder based on a DECC algorithm, the DECC algorithm being a single-source Reed-Solomon decoding algorithm; based on the decoding, obtaining the plurality of source files.
 10. The computer-based method of claim 9, wherein the DECC algorithm uses a parity check matrix associated to the Reed-Solomon decoding algorithm used in the decoding.
 11. The computer-based method of claim 10, wherein one or more of the plurality of encoded files received by the computer-based receiver node are erroneous due to an erroneous relay transmission link and/or an erroneous relay node.
 12. The computer-based method of claim 9, wherein the DECC encoding and DECC decoding algorithm comprises the steps of: 1) providing the number n of relay nodes, the maximum number z of erroneous relay nodes and/or relay transmission links, and a configuration of the plurality of source transmission links wherein the configuration comprises a specification of which relay nodes store which source messages; 2) based on the providing, selecting a parity check matrix H of a single-source error correcting code with low encoding and decoding complexity; 3) based on the selecting, computing the linear subspace D, represented by a generator matrix G, which is orthogonal to the rows of the parity check matrix H. 4) selecting amongst the possible available generator vectors of the matrix G, generator vectors such as for each relay node denoted by V_(s), a corresponding column vector G_(s) at the position s of the generator matrix G has all zero coefficients at positions corresponding to the files that V_(s) does not have, as dictated by the configuration of the plurality of source transmission links; 5) providing to each relay node V_(s) the vector G_(s) to be used for the encoding; 6) using within each relay node V_(s) the provided vector G_(s) for encoding the received source files. During this process, the non-zero coefficients in G_(s) are used as encoding coefficients to encode the files for transmission to the receiver node. The relay node may concatenate the received files to form a single vector upon which the encoding is performed, by inserting zeros as placeholders for the files it does not have; 7) after receiving the n encoded files from the n relay nodes, organizing within the receiving node the received encoded files as a single vector; 8) inputting the single vector to a standard error decoding algorithm such as first to multiply the parity check matrix H with the received vector, and then using the decoding algorithm corresponding to the original single-source error correcting code to find the locations and values of the errors in the received vector; 9) performing one of: a) subtracting the located errors from the received files and decoding the correct source files based on the subtracting, and b) based on the located errors, obtaining the corrected vector, which is a concatenation of the source files, and extracting the source files therefrom.
 13. The computer-based method of claim 12, wherein the plurality of computer-based relay nodes comprise steps 5) and 6) operatively implemented in hardware and/or software.
 14. The computer-based DECC of claim 13, wherein the computer-based receiver node comprises steps 7), 8) and 9) operatively implemented in hardware and/or software. 